package com.qijian.maindata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.maindata.domain.ProjectScheduleStep;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.stream.Stream;

/**
 * 项目号对应车间的节拍Mapper接口
 *
 * @author qijian
 * @date 2024-05-13
 */
public interface ProjectScheduleStepMapper extends BaseMapper<ProjectScheduleStep> {

    List<ProjectScheduleStep> getScheduleStepByProjectId(@Param("projectId") Long projectId,@Param("version") Long version);

    Long getMaxVersion(@Param("projectId") Long projectId);

}
